<%--                                                                       --%>
<%-- Copyright (c) 2003-2005 BroadVision, Inc.  All rights reserved.       --%>
<%--                                                                       --%>
<%-- This software is copyrighted. Under the copyright laws, this software --%>
<%-- may not be copied, in whole or in part, without prior written consent --%>
<%-- of BroadVision, Inc. or its assignees. This software is provided      --%>
<%-- under the terms of a license between BroadVision and the recipient,   --%>
<%-- and its use is subject to the terms of that license.                  --%>
<%--                                                                       --%>
<%-- This software may be protected by one or more U.S. and International  --%>
<%-- patents.  Certain applications of BroadVision One-To-One software are --%>
<%-- covered by U.S. patent 5,710,887.                                     --%>
<%--                                                                       --%>
<%-- TRADEMARKS: BroadVision and BroadVision One-To-One are registered     --%>
<%-- trademarks of BroadVision, Inc., in the United States and the         --%>
<%-- European Community, and are trademarks of BroadVision, Inc., in other --%>
<%-- countries.  The BroadVision logo, is a trademark of BroadVision,      --%>
<%-- Inc., in the United States and other countries. Additionally, IONA    --%>
<%-- and Orbix are trademarks of IONA Technologies, Ltd.  RSA, MD5, and    --%>
<%-- RC2 are trademarks of RSA Data Security, Inc.                         --%>
<%--                                                                       --%>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<% String ctxPath = request.getContextPath(); %>

<jsp:useBean id="processInstanceTasksForm" 
          class="com.broadvision.process.tools.action.process.ProcessInstanceTasksForm"
          scope="session"/>

<%
   java.util.HashMap map= new java.util.HashMap();
   String instanceOid = request.getParameter("instanceOid"); 
   if (instanceOid!=null && instanceOid.length() > 0)
     map.put("instanceOid",instanceOid);
   map.put("currentTask",request.getParameter("currentTask"));
   pageContext.setAttribute("pagetabParam",map);
%>
    <table class="zoneFive" width="100%" border="0" cellspacing="0" cellpadding="0" summary="<bean:message key="bp.process.processInstanceDecision.summary" bundle="bp.messages"/>" >
      <tr>
        <td valign="top" width="100%">
        <div class="pageTitle"><bean:write name="processInstanceTasksForm" property="currentMinorTask" />
          </div>
          <div><%@include file="/mc/common/pagetab.jsp" %></div>
        <div class="breadcrumb">
          <html:link page="/bp/processInstanceTasks.do"  paramId="instanceOid" paramName="processInstanceTasksForm"  paramProperty="instanceOid"><bean:message key="bp.process.processInstance" bundle="bp.messages"/></html:link>&nbsp;>&nbsp;<bean:message key="bp.process.processInstanceStep" bundle="bp.messages"/></div>
          <div class="pageSubtitle">
            <span class="left"><bean:message key="bp.process.processInstanceStepType" bundle="bp.messages"/>&nbsp;<img src="<%= ctxPath %>/bp/images/icons/decision.gif" border="0" alt="<bean:message key="bp.process.processInstanceDecision.header" bundle="bp.messages"/>" />&nbsp;<bean:message key="bp.process.processInstanceDecision.header" bundle="bp.messages"/></span>
          </div> 
          <table class="dataTable" border="0" cellspacing="0" cellpadding="0" summary="<bean:message key="bp.process.processInstanceDecision.summary" bundle="bp.messages"/>"  width="100%">
            <tr><td class="errorMessage"><html:errors bundle="bp.messages"/></td></tr>
            <tr><td class="errorMessage"><bean:message key="bp.process.processInstanceDecision.beta" bundle="bp.messages"/></td></tr>

        </table>
        </td>
      </tr>
    </table>
